package com.uam.db.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 图层记录对象 data_layer
 *
 * @author uam
 * @date 2023-11-23
 */
@ApiModel(value = "图层类")
public class DataLayer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "图层数据ID")
    private Long id;

    /** 数据ID */
    @ApiModelProperty(value = "选择数据ID")
    private Long dataId;

    /** 图层名称 */
    @ApiModelProperty(value = "图层名称")
    private String layerName;

    /** 数据类型 1:点 2:线 3:面 */
    @ApiModelProperty(value = "数据类型 1:点 2:线 3:面")
    private Integer dataType;

    /** 是否有效 1:有效 0:无效 */
    @ApiModelProperty(value = "是否有效 1:有效 0:无效")
    private Integer display;

    /** 附加数据 */
    @ApiModelProperty(value = "附加数据")
    private String extData;

    /** 创建人 */
    @ApiModelProperty(value = "创建人")
    private String createName;

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDataId(Long dataId)
    {
        this.dataId = dataId;
    }

    public Long getDataId()
    {
        return dataId;
    }
    public void setLayerName(String layerName)
    {
        this.layerName = layerName;
    }

    public String getLayerName()
    {
        return layerName;
    }

    public Integer getDisplay() {
        return display;
    }

    public void setDisplay(Integer display) {
        this.display = display;
    }

    public void setExtData(String extData)
    {
        this.extData = extData;
    }

    public String getExtData()
    {
        return extData;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }
}
